/*
 * usbdesc.c
 *
 *  Created on: 31-01-2012
 *      Author: Mateusz
 */

#include <stdint.h>
#include "usb.h"
#include "usbdesc.h"

/* USB String Descriptor (optional) */
const uint8_t USB_StringDescriptor[] = {
/* Index 0x00: LANGID Codes */
0x04, /* bLength */
USB_STRING_DESCRIPTOR_TYPE, /* bDescriptorType */
WBVAL(0x0409), /* US English *//* wLANGID */
/* Index 0x04: Manufacturer */
0x1C, /* bLength */
USB_STRING_DESCRIPTOR_TYPE, /* bDescriptorType */
'S',0,
'F',0,
'A',0,
'R',0,
' ',0,
'S',0,
'.',0,
'C',0,
'.',0,
' ',0,
' ',0,
' ',0,
' ',0,
/* Index 0x20: Product */
0x28, /* bLength */
USB_STRING_DESCRIPTOR_TYPE, /* bDescriptorType */
'R',0,
'i',0,
'b',0,
'b',0,
'o',0,
'n',0,
'C',0,
'o',0,
'n',0,
't',0,
'r',0,
'o',0,
'l',0,
' ',0,
'1',0,
'.',0,
'1',0,
' ',0,
' ',0,
/* Index 0x48: Serial Number */
0x1A, /* bLength */
USB_STRING_DESCRIPTOR_TYPE, /* bDescriptorType */
's',0,
'0',0,
'0',0,
'0',0,
'0',0,
'0',0,
'0',0,
'0',0,
'0',0,
'0',0,
'0',0,
'2',0,
/* Index 0x62: Interface 0, Alternate Setting 0 */
0x0E, /* bLength */
USB_STRING_DESCRIPTOR_TYPE, /* bDescriptorType */
'H',0,
'I',0,
'D',0,
' ',0,
' ',0,
' ',0,
};
